home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / Prograph Reference Manual.sit / Prograph Reference Manual / Prograph Reference 8-End.rsrc / TEXT_133.txt < prev    next >
Text File  |  1995-10-26  |  4KB  |  212 lines

  1. t    Operation Icons
  2.  
  3. Text, if any, in an operation indicates the operation窶冱 name. 
  4.  
  5. Call to a Primitive
  6.  
  7. ツ 
  8.  
  9.  
  10. Prograph distinguishes primitives from user-defined operations by a double line along the bottom edge of their icons.
  11.  
  12. Call to a Universal Method  *437*
  13.  
  14. ツ 
  15.  
  16.  
  17. Universal methods are distinguished by not having the double line of a primitive and not having the C/Name prefix of class-based methods.
  18.  
  19. Call to the Macintosh Toolbox or to an External 
  20.  
  21. ツ 
  22.  
  23.  
  24. Calls to external C or Pascal routines, including Macintosh Toolbox calls, have double lines on their top and bottom edges.
  25.  
  26. Call to a Method in a Class  *437*
  27.  
  28. The structure of an operation name is significant. The occurrences of the slash character, /, in the name affect the semantics of the program. In the three forms of operation names with / that are given below, birth refers to a method name while Person refers to a class name.
  29.  
  30. ツ 
  31.  
  32.  
  33. Calls the birth method defined in the class in which the method containing this operation is defined (that is, in the class identified in the banner of the case window in which the //birth operation is found). If the birth method is not found in this class, the inheritance tree of superclasses is searched upward until a birth method is found.
  34.  
  35. ツ 
  36.  
  37.  
  38. Calls the birth method defined in the Person class. If not found in the Person class, the inheritance tree of superclasses is searched upward until a birth method is found.  *438*
  39.  
  40. ツ 
  41.  
  42.  
  43. Calls the birth method defined in the class of the instance arriving on the terminal of the operation. (If the operation has more than one terminal, the class of the instance arriving on the leftmost terminal is used to determine the class in which to search for the birth method.) If not found in the class of the arriving instance, the inheritance tree of superclasses of the arriving instance is searched upward until a birth method is found.
  44.  
  45. ツ 
  46.  
  47.  
  48. Annotations are applied to a selected operation by making a selection in the Opers menu.
  49.  
  50. Annotations can be applied to operations whether or not they have names, as in the case of an instance generating operation that accepts the class name in the form of a string input to an injection terminal.
  51. ツ 
  52.  
  53. ツ  
  54.  
  55.  
  56.  
  57. ツ 
  58.  
  59. ツ 
  60.  
  61.  
  62.  
  63.  
  64.  
  65. ツ 
  66.  
  67. Every Match has a control appended on its right.  *439*
  68.  
  69. ツ 
  70.  
  71.  
  72.  
  73. ツ 
  74.  
  75.  
  76.  
  77.  
  78.  
  79. ツ 
  80.  
  81. ツ 
  82.  
  83. ツ 
  84.  
  85. ツ 
  86.  
  87.  
  88.  
  89. ツ 
  90.  
  91. ツ 
  92.  
  93.  
  94. ツ 
  95.  
  96. ツ 
  97.  
  98.  
  99. ツ 
  100.  
  101. ツ 
  102.  
  103.  
  104. The name of a Local serves as a comment.  *440*
  105.  
  106. ツ 
  107.  
  108. ツ 
  109.  
  110.  
  111.  
  112. The name of an Evaluate is always an arithmetic expression.
  113.  
  114. ツ 
  115.  
  116.  
  117. ツ 
  118.  
  119.  
  120. The name of a Mac Constant must be that of a valid Macintosh constant.
  121.  
  122. ツ 
  123.  
  124. ツ 
  125.  
  126.  
  127. The name of a Mac Match must be that of a valid Macintosh constant. Every Mac Match has a control appended on its right.  *440*
  128.  
  129. ツ 
  130.  
  131. ツ 
  132.  
  133. The name of a Mac Global must be that of a valid Macintosh system global.
  134.  
  135. ツ 
  136.  
  137. ツ 
  138.  
  139.  
  140. The name of a Mac Address must be that of a valid Macintosh field.  *441*
  141.  
  142. ツ 
  143.  
  144. ツ 
  145.  
  146.  
  147. The name of a Mac Get Field must be that of a valid Macintosh field. 
  148.  
  149. ツ 
  150.  
  151. ツ 
  152.  
  153.  
  154. The name of a Mac Set Field must be that of a valid Macintosh field.  *441*
  155.  
  156. ツ 
  157.  
  158.  
  159. Annotations are applied to a selected operation, terminal, or root by making a selection in the Controls menu.
  160.  
  161. Operations can be annotated with controls to affect execution flow. Common applications of control annotations are to provide iteration, recursion, and various forms of conditional execution.
  162.  
  163. ツ 
  164.  
  165. ツ 
  166.  
  167.  
  168.  
  169. Simple is a 窶從onannotation窶 annotation. That is, selecting Simple from the Controls menu removes any annotation applied to the selected operation, terminal, or root.
  170.  
  171. ツ 
  172.  
  173. ツ ツ ツ 
  174.  
  175.  
  176. The name of a Super can only be of the form //name.  *442*
  177.  
  178. ツ 
  179.  
  180. ツ 
  181.  
  182. ツ 
  183.  
  184. ツ      Failure
  185.  
  186. ツ       Success
  187.  
  188. ツ 
  189.  
  190.  
  191. ツ        Failure
  192.  
  193. ツ 
  194.  
  195.  
  196. ツ         Failure
  197.  
  198. ツ       Success
  199.  
  200. ツ 
  201.  
  202.  
  203. ツ        Failure
  204.  
  205. ツ      Success
  206.  
  207. ツ 
  208.  
  209.  
  210. ツ        Failure
  211.  
  212.